/* 全局样式 */
* {
    box-sizing: border-box;
}
html body{
    width: 100%;
    height: 100%;
}

html{
    overflow-x:hidden; 
}

.navwrap{
	width: 80%;
	margin: 0 auto;
	/* background-color: #0090ff; */
}


/* 公共导航样式 */

/**导航整体高度**/
.nav {
    z-index: 999;
    top: 0;
    width: 100%;
    height: 7rem;
    background-color: #ffffffe3;
    backdrop-filter: blur(8px);
    position: fixed;
}

/*页眉高度  */
.topbg {
    height: 2rem;
    width: 100%;
    background-color: #1D2233cf;
}

/* 页眉列表 */
.top-content{
    float: right;
}
.top-content li{
    list-style: none;/*去除列表符号*/
    margin-left: 2rem; 
    float: left;
    color: white;
    font-size: 0.8rem;
    line-height: 2.5;
}
.top-content li a{
    font-size: 0.7rem;
    padding: 0 0.3rem;
    color: #fff;
    border: 1px solid #fff;
    transition: 0.4s;
    transition-duration: 0.4s !important;
    cursor: pointer;
}
.top-content li a:hover{
    background-color: #fff;
    color: #0077ff;
    transition: all 0.3s ease;
}

/*导航高度*/
.main_nav{
	position: fixed;
	width: 100%;
    height: 5rem;
    display: flex; 
    justify-content: space-between;
    align-items: center;
    transition: 0.5s;
}



/* logo位置 */
    .nav-logo {
        background-repeat: no-repeat;
        display: flex;
        margin-left: 90%;
        padding-top: 0.3rem;
    }
    .nav-logo img{
        max-width: none !important;
    }
    .nav-logo:hover {
        transform: scale(1.02); /* 轻微放大效果 */
        transition: transform 0.3s;
    }
   /* 导航列表 */
    .main_nav-cont {
        float: right;
        margin-right: 10%;    
    }
    .main_nav-cont li{
        /*padding-top: 1.2rem;*/
        margin: 0 2rem;
        text-align: center;
    	float: left;   
        line-height: 5rem;
    }
    .main_nav-cont a {
        margin: 0 auto;
        font-size: 1.2rem;
        color: #121A27;
        text-decoration: none;
    }


    .nav-text a:hover {
        color: #0077ff;
        line-height: inherit;
    }
.nav-text::after {
    content: "";
    height: 0.2rem;
    overflow: hidden;
    display: block;
    background: #0077ff;
    transform: scaleX(0);
    transition: all 0.5s;
    margin-top: -0.2rem;
}
    .nav-text:hover::after{
        transform: scaleX(1);
    }
    

    
    /* 屏幕分辨率适配1600px,83% */
@media screen and (max-width:1600px) {
    .nav-logo {
        margin-left: 80%;
    }

}
@media screen and (max-width:1440px){

   
}
@media screen and (max-width:1366px){
    .nav{
        height: 5rem;
    }
    .navwrap{
        width: 90%;
    }
    .nav-logo {
        margin-left: 50%;
    }
    .topbg {
        height: 1.5rem;
    }
    .main_nav{
        height:3.4rem;
    }
    .nav-text::after {
        margin-top：-0.4rem;
    }
    .main_nav-cont {
        margin-right: 5%;
    }
    .main_nav-cont li {
        line-height: 3.3rem;
    }

    .top-content li {
        font-size: 0.7rem;
        line-height: 1.5rem;
    }
    .top-content li a{
        font-size: 0.6rem;
    }
   
    .nav-logo img {
        width: 8.5rem;
    }
    .main_nav-cont a{
        font-size: 0.9rem;
    }
}
     

@media screen and (max-width:1024px) {
    .navwrap {
        width: 90%;
    }
    .nav-logo {
        margin-left: 40%;
    }
    .main_nav-cont {
        width: 44%;
        margin-right: 0;
    }
}
